<template>
    <div id="project">
        <!--头部-->
        <div class="head">
            <span class="iconfont" onclick="javascript :history.go(-1);">&#xe602;</span>
            <form action="">
                <input type="text" placeholder="搜索品牌、品类关键词">
            </form>
            <a href="javascript:void(0);">搜索</a>
        </div>

        <!--顶部图片-->
        <div class="top-img w">
            <a href="javascript:void(0);">
                <img src="./images/top_img.png" alt="">
            </a>
        </div>

        <!--热门项目-->
        <div class="hot-project">
            <ul class="w t-nav">
                <li>热门项目</li>
            </ul>

            <!--内容-->
            <ul class="hot-cont">
                <li class="w">
                    <img src="./images/hot01.png" alt="">
                    <div class="r-cont clearfix">
                        <h2 class="">韩巴巴炸鸡店</h2>
                        <span>外卖</span>
                        <span>堂食</span>
                        <p>所属分类：<i>炸鸡</i></p>
                        <p><img src="./images/money.png" alt=""><i>5~10万</i></p>
                        <p>月资讯人数：<i>242</i>人</p>
                        <a href="javascript:void(0);">询底价</a>
                    </div>
                </li>
                <li class="w">
                    <img src="./images/hot02.png" alt="">
                    <div class="r-cont clearfix">
                        <h2 class="">暖小稻</h2>
                        <span>外卖</span>
                        <span>堂食</span>
                        <p>所属分类：<i>黄焖鸡</i></p>
                        <p><img src="./images/money.png" alt=""><i>5~10万</i></p>
                        <p>月资讯人数：<i>242</i>人</p>
                        <a href="javascript:void(0);">询底价</a>
                    </div>
                </li>
                <li class="w">
                    <img src="./images/hot03.png" alt="">
                    <div class="r-cont clearfix">
                        <h2 class="">灶掌柜</h2>
                        <span>外卖</span>
                        <span>堂食</span>
                        <span>现炒</span>
                        <p>所属分类：<i>家常菜</i></p>
                        <p><img src="./images/money.png" alt=""><i>5~10万</i></p>
                        <p>月资讯人数：<i>242</i>人</p>
                        <a href="javascript:void(0);">询底价</a>
                    </div>
                </li>
                <li class="w">
                    <img src="./images/hot04.png" alt="">
                    <div class="r-cont clearfix">
                        <h2 class="">湘口福酸菜鱼</h2>
                        <span>外卖</span>
                        <span>米饭</span>
                        <p>所属分类：<i>酸菜鱼</i></p>
                        <p><img src="./images/money.png" alt=""><i>5~10万</i></p>
                        <p>月资讯人数：<i>242</i>人</p>
                        <a href="javascript:void(0);">询底价</a>
                    </div>
                </li>
            </ul>

            <a href="javascript:void(0);" class="load-more">点击加载更多项目</a>
        </div>
        <foot></foot>
    </div>
</template>

<script>
    import foot from "@/components/foot/foot"

    export default {
        name: "Project",
        data() {
            return {}
        },
        components: {
            foot
        }
    }
</script>

<style scoped lang="less">
    .head {
        position: relative;


        a {
            position: absolute;
            font-size: 16px;
            color: #333;
            top: 0.15rem;
            right: 0.2rem;
        }

        span {
            position: absolute;
            top: 0.15rem;
            left: 0.215rem;
        }

        form {
            width: 100%;

            padding-left: 0.555rem;
            padding-right: 0.695rem;
            border-top: 1px solid transparent;

            input[type="text"] {
                padding-left: 30px;
                width: 100%;
                height: 30px;
                margin-top: 0.09rem;
                border-radius: 0.15rem;
                background-color: rgba(200, 200, 200, .3);
                border: none;
            }
        }
    }

    /* 顶部图片 */
    .top-img {
        margin-top: .28rem;
        margin-bottom: 0.15rem;

        a {
            display: block;
            width: 100%;
            height: 100%;

            img {
                display: block;
                width: 100%;
            }
        }
    }

    .hot-project {
        .t-nav {
            border-bottom: 1px solid #eaeaea;
            display: flex;
            justify-content: space-between;

            li {
                height: 30px;
                /*border-bottom: 2px solid #fe1818;*/
                font-size: 15px;
                color: #333;
                padding-left: .01rem;
                padding-right: .01rem;
                position: relative;
                &:after{
                    content: "";
                    width: 100%;
                    height: 2px;
                    background-color: #fe1818;
                    position: absolute;
                    bottom: 0;
                    left: 0;
                }
            }
        }

        .hot-cont {
            li {
                padding-top: 0.15rem;
                padding-bottom: 0.135rem;
                border-bottom: 1px solid #e1dede;
                position: relative;
                //display: flex;
                //justify-content: space-between;

                img {
                    height: 1.055rem;
                    display: inline-block;
                    margin-right: 0.12rem;
                    vertical-align: middle;
                }

                .r-cont {
                    display: inline-block;
                    vertical-align: middle;
                    //font-size: 0;

                    h2 {
                        font-size: 15px;
                        color: #333;
                        display: inline-block;
                        margin: 0 0.05rem 0.1rem 0;
                    }

                    span {
                        font-size: 0.11rem;
                        color: #fd8815;
                        padding: 0.02rem 0.03rem;
                        border-radius: 15px;
                        border: solid 1px #ff9126;
                        margin-right: 0.05rem;
                    }

                    p {
                        font-size: 12px;
                        line-height: 12px;

                        &:nth-of-type(1) {
                            color: #999;
                            margin-bottom: .07rem;
                        }

                        &:nth-of-type(2) {
                            margin-bottom: 7px;

                            img {
                                vertical-align: middle;
                                width: 12px;
                                height: 12px;
                                margin-right: .07rem;
                            }

                            i {
                                color: #333;
                                vertical-align: middle;
                            }
                        }

                        &:nth-of-type(3) {
                            color: #ff5050;
                        }
                    }

                    a {
                        display: inline-block;
                        padding: 0.065rem 0.15rem;
                        color: #fff;
                        font-size: 12px;
                        background-image: linear-gradient(207deg,
                        #ff4b33 0%,
                        #ff4431 0%,
                        #ff3d2e 0%,
                        #ff2922 54%,
                        #fe1818 100%),
                        linear-gradient(
                                #f65353,
                                #f65353);
                        background-blend-mode: normal,
                        normal;
                        box-shadow: 2px 2px 9px 0px rgba(218, 20, 20, 0.33),
                        inset 0px 3px 7px 0px rgba(255, 88, 75, 0.44);
                        border-radius: 25px;
                        position: absolute;
                        bottom: 0.19rem;
                        right: 0.2rem;
                    }
                }
            }
        }
    }

    .load-more {
        display: block;
        width: 100%;
        height: .45rem;
        text-align: center;
        line-height: .45rem;
        color: #424242;
        font-size: 11px;
    }
</style>
